package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.mingqijia.gassafety.db.entity.annotation.OperateLogFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运行报告配置和模版表
 * </p>
 *
 * @Author: mby
 * @Date: 2024/3/11 09:30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_gss_running_report_config")
@ApiModel(value="RunningReportConfig对象", description="运行报告配置表")
public class RunningReportConfig implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @OperateLogFiled(name = "设备运行报告生成开关 ON-开 OFF-关")
    @ApiModelProperty(value = "设备运行报告生成开关 ON-开 OFF-关")
    @TableField("generate_report_open")
    private String generateReportOpen;

    @OperateLogFiled(name = "设备运行报告生成日期，每月第几天")
    @ApiModelProperty(value = "设备运行报告生成日期，每月第几天")
    @TableField("generate_report_day")
    private Integer generateReportDay;

    @OperateLogFiled(name = "用户审核开关 ON-开 OFF-关")
    @ApiModelProperty(value = "用户审核开关 ON-开 OFF-关")
    @TableField("check_open")
    private String checkOpen;

    @OperateLogFiled(name = "是否开启配置类型离线事件 0-是 1-否")
    @ApiModelProperty(value = "是否开启配置类型离线事件 0-是 1-否")
    @TableField("is_offline_config")
    private Integer isOfflineConfig;

    @OperateLogFiled(name = "设备上报离线至上报上线间隔，单位为小时")
    @ApiModelProperty(value = "设备上报离线至上报上线间隔，单位为小时")
    @TableField("offline_interval")
    private Integer offlineInterval;

    @OperateLogFiled(name = "离线业务配置是否需要计入离线事件统计 0-不计入统计，1-计入统计")
    @ApiModelProperty(value = "离线业务配置是否需要计入离线事件统计 0-不计入统计，1-计入统计")
    @TableField("offline_include")
    private Integer offlineInclude;

    @OperateLogFiled(name = "页眉内容展示 0-展示 1-不展示")
    @ApiModelProperty(value = "页眉内容展示 0-展示 1-不展示")
    @TableField("header_show")
    private Integer headerShow;

    @OperateLogFiled(name = "页眉logo")
    @ApiModelProperty(value = "页眉logo")
    @TableField("header_logo")
    private String headerLogo;

    @OperateLogFiled(name = "页眉文案内容")
    @ApiModelProperty(value = "页眉文案内容")
    @TableField("header_content")
    private String headerContent;

    @OperateLogFiled(name = "无报警内容")
    @ApiModelProperty(value = "无报警内容")
    @TableField("no_alarm_content")
    private String noAlarmContent;

    @OperateLogFiled(name = "无报警温馨提示展示 0-展示 1-不展示")
    @ApiModelProperty(value = "无报警温馨提示展示 0-展示 1-不展示")
    @TableField("no_alarm_tips_show")
    private Integer noAlarmTipsShow;

    @OperateLogFiled(name = "是否报警总结 0-是 1-否")
    @ApiModelProperty(value = "是否报警总结 0-是 1-否")
    @TableField("is_alarm_summary")
    private Integer isAlarmSummary;

    @OperateLogFiled(name = "报警总结内容")
    @ApiModelProperty(value = "报警总结内容")
    @TableField("alarm_summary_content")
    private String alarmSummaryContent;

    @OperateLogFiled(name = "报警总结记录标题")
    @ApiModelProperty(value = "报警总结记录标题")
    @TableField("alarm_summary_title")
    private String alarmSummaryTitle;

    @OperateLogFiled(name = "报警总结记录列表字段展示信息(json)")
    @ApiModelProperty(value = "报警总结记录列表字段展示信息(json)")
    @TableField("alarm_summary_list_show")
    private String alarmSummaryListShow;

    @OperateLogFiled(name = "报警总结类别分析展示 0-展示 1-不展示")
    @ApiModelProperty(value = "报警总结类别分析展示 0-展示 1-不展示")
    @TableField("category_analysis_show")
    private Integer categoryAnalysisShow;

    @OperateLogFiled(name = "报警总结情况分析展示 0-展示 1-不展示")
    @ApiModelProperty(value = "报警总结情况分析展示 0-展示 1-不展示")
    @TableField("situation_analysis_show")
    private Integer situationAnalysisShow;

    @OperateLogFiled(name = "是否报警明细 0-是 1-否")
    @ApiModelProperty(value = "是否报警明细 0-是 1-否")
    @TableField("is_alarm_detail")
    private Integer isAlarmDetail;

    @OperateLogFiled(name = "报警明细记录标题")
    @ApiModelProperty(value = "报警明细记录标题")
    @TableField("alarm_detail_title")
    private String alarmDetailTitle;

    @OperateLogFiled(name = "报警明细户名展示 0-展示 1-不展示")
    @ApiModelProperty(value = "报警明细户名展示 0-展示 1-不展示")
    @TableField("alarm_detail_name_show")
    private Integer alarmDetailNameShow;

    @OperateLogFiled(name = "报警明细户号展示 0-展示 1-不展示")
    @ApiModelProperty(value = "报警明细户号展示 0-展示 1-不展示")
    @TableField("alarm_detail_code_show")
    private Integer alarmDetailCodeShow;

    @OperateLogFiled(name = "报警明细户址展示 0-展示 1-不展示")
    @ApiModelProperty(value = "报警明细户址展示 0-展示 1-不展示")
    @TableField("alarm_detail_address_show")
    private Integer alarmDetailAddressShow;

    @OperateLogFiled(name = "报警明细记录列表展示信息(json)")
    @ApiModelProperty(value = "报警明细记录列表展示信息(json)")
    @TableField("alarm_detail_list_show")
    private String alarmDetailListShow;

    @OperateLogFiled(name = "是否温馨提示 0-是 1-否")
    @ApiModelProperty(value = "是否温馨提示 0-是 1-否")
    @TableField("is_tips")
    private Integer isTips;

    @OperateLogFiled(name = "温馨提示内容")
    @ApiModelProperty(value = "温馨提示内容")
    @TableField("tips_content")
    private String tipsContent;

    @OperateLogFiled(name = "温馨提示 0-展示 1-不展示")
    @ApiModelProperty(value = "温馨提示 0-展示 1-不展示")
    @TableField("tips_show")
    private Integer tipsShow;

    @OperateLogFiled(name = "是否删除 0-正常 1-删除")
    @ApiModelProperty(value = "是否删除 0-正常 1-删除")
    @TableField("is_deleted")
    private Boolean isDeleted;

    @OperateLogFiled(name = "创建人")
    @ApiModelProperty(value = "创建人")
    @TableField(value = "created_by")
    private String createdBy;

    @OperateLogFiled(name = "创建时间")
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private Date createdAt;

    @OperateLogFiled(name = "配置更新人")
    @ApiModelProperty(value = "配置更新人")
    @TableField(value = "config_updated_by")
    private String configUpdatedBy;

    @OperateLogFiled(name = "模版更新人")
    @ApiModelProperty(value = "模版更新人")
    @TableField(value = "template_updated_by")
    private String templateUpdatedBy;

    @OperateLogFiled(name = "配置更新时间")
    @ApiModelProperty(value = "配置更新时间")
    @TableField(value = "config_updated_at")
    private Date configUpdatedAt;

    @OperateLogFiled(name = "模版更新时间")
    @ApiModelProperty(value = "模版更新时间")
    @TableField(value = "template_updated_at")
    private Date templateUpdatedAt;

    @OperateLogFiled(name = "sp_id")
    @ApiModelProperty(value = "sp_id")
    @TableField("sp_id")
    private String spId;

}
